package com.qiuyang.mapper.show;

import com.github.pagehelper.PageInfo;
import com.qiuyang.pojo.Blog;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface ShowBlogMapper {
    int countBlog();
    List<Blog> findAllBlog();
    List<Blog> blogRecommed();
    Blog showBlog(Long id);
    void insertViews(Long id);

    List<Blog> findBlogTitle(String title);


}
